package com.world.common.pojo.api;

import java.util.List;

/**
 * Created by gang on 2018/2/1.
 */
//接口字段模型
public class ApiInterface {
    private String name;//名字
    private String address;//接口地址
    private String returnType;//返回格式
    private String requestType;//请求方式
    private String desc;//接口描述
    private List<ApiReqParameter> apiReqParameters;//请求参数
    private List<ApiResParameter> apiResParameters;//返回参数
    private String reqExample;//请求示例
    private String resExample;//返回示例

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public List<ApiReqParameter> getApiReqParameters() {
        return apiReqParameters;
    }

    public void setApiReqParameters(List<ApiReqParameter> apiReqParameters) {
        this.apiReqParameters = apiReqParameters;
    }

    public List<ApiResParameter> getApiResParameters() {
        return apiResParameters;
    }

    public void setApiResParameters(List<ApiResParameter> apiResParameters) {
        this.apiResParameters = apiResParameters;
    }

    public String getReqExample() {
        return reqExample;
    }

    public void setReqExample(String reqExample) {
        this.reqExample = reqExample;
    }

    public String getResExample() {
        return resExample;
    }

    public void setResExample(String resExample) {
        this.resExample = resExample;
    }
}
